﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AddInArchitecture"
    targetNamespace="http://bovespa/schemas/AddInArchitecture.xsd"
    elementFormDefault="qualified"
    xmlns="http://bovespa/schemas/AddInArchitecture.xsd"
    xmlns:mstns="http://bovespa/schemas/AddInArchitecture.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
  <xs:element name="AddIn">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="Menu" type="Menu" maxOccurs="unbounded"/>
        <xs:element name="Items" type="Items" />
        <xs:element name="Item" type="Item" />
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="Menu">
    <xs:sequence maxOccurs="1">
      <xs:element name="Name" type="xs:string" />
      <xs:element name="Items" type="Items" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Items">
    <xs:sequence minOccurs="1" maxOccurs="unbounded">
      <xs:element name="Item" type="Item" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Item">
    <xs:attribute name="itemName" type="xs:string" />
    <xs:attribute name="assembly" type="xs:string" />
  </xs:complexType>
</xs:schema>
